﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Salon
{
    /// <summary>
    /// Klasa fabryki serwisów. Wszystkie serwisy powinny być z niej pobierane.
    /// </summary>
    class ServiceFactory
    {
        
        public static UserService getUserService()
        {
            return new UserService();
        }

        public static ClientService getClientService()
        {
            return new ClientService();
        }

        public static AutoSalonService getAutoSalonService()
        {
            return new AutoSalonService();
        }

        public static DictService getDictService()
        {
            return new DictService();
        }

        public static TransferService getTransferService()
        {
            return new TransferService();
        }

        public static CarService getCarService()
        {
            return new CarService();
        }

        public static OrderService getOrderService()
        {
            return new OrderService();
        }


    }
}
